<?php


class subject
{
    public $content="";
    public $state = 0;

    public function save()
    {
        file_put_contents(__DIR__.'/subject.json', json_encode($this));
        echo "文案已经创建成功";
    }
}